package com.dd.cloud.user.service.phar.pharservice;

import com.dd.cloud.common.enums.PharEnum;
import com.dd.cloud.user.entity.order.OrderPay;

/**
 * @Description: 获取药房的service类
 * @ClassName: PharInterface
 * @Author: czg
 * @Date: 2022/11/25 16:28
 * @Version: 1.0
 */
public interface PharServiceBeanInterface {

    /**
     * 获取药房service
     *
     * @param pay 支付的订单
     * @return
     */
    PharServiceInterface getPharService(OrderPay pay);

    /**
     * 获取药房service
     *
     * @param pharId 药房id
     * @return
     */
    PharServiceInterface getPharService(Integer pharId);

    /**
     * 获取药房service
     *
     * @param pharEnum 药房枚举信息
     * @return
     */
    PharServiceInterface getPharService(PharEnum pharEnum);

    /**
     * 获取药房service
     *
     * @param tencode 处方编号
     * @return
     */
    PharServiceInterface getPharService(String tencode);
}
